[IA64] Backup/restore ACPI tables
authorAlex Williamson <alex.williamson@hp.com>
Wed, 17 Oct 2007 16:36:31 +0000 (10:36 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Wed, 17 Oct 2007 16:36:31 +0000 (10:36 -0600)
commita0447f82ed657de9a161cacd120057868ad15795
tree440a08a91e79108e22019f51f7b32c28e6b0babe
parent9f7d120df2b18ed65a5b72f21109bff93e0b87be
[IA64] Backup/restore ACPI tables

We modify some of the ACPI tables for dom0 (limiting available CPUs,
modifying id/eid, and hiding SLIT/SRAT tables).  This causes problems
when we try to kexec with different dom0 CPU counts or from Xen to
Linux.  This introduces a mechanism to save ACPI tables before
modification and restoring them before kexec.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Simon Horman <horms@verge.net.au>
xen/arch/ia64/xen/dom_fw_dom0.c
xen/arch/ia64/xen/machine_kexec.c
xen/include/asm-ia64/dom_fw_dom0.h